import { Router } from 'express';
import * as Controller from '../api/controllers/permission.controller';

const router = Router();

router
  .route('/')
  .get(
    Controller.getPermissions
  );

router
  .route('/:ids')
  .get(
    Controller.getPermissionByIds
  );

export default router;